package com.carb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "新增服务项目物品关联信息传递的数据模型")
public class ProjectItemAddDTO implements Serializable {

    @Schema(description = "物品id",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Long itemId;

    @Schema(description = "物品数量",
            requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer quantity;

}
